﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200099F RID: 2463
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class JGFFNIFGPDA : IMessage<JGFFNIFGPDA>, IMessage, IEquatable<JGFFNIFGPDA>, IDeepCloneable<JGFFNIFGPDA>, IBufferMessage
	{
		// Token: 0x17001F2D RID: 7981
		// (get) Token: 0x06006E80 RID: 28288 RVA: 0x00127FD4 File Offset: 0x001261D4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<JGFFNIFGPDA> Parser
		{
			get
			{
				return JGFFNIFGPDA._parser;
			}
		}

		// Token: 0x17001F2E RID: 7982
		// (get) Token: 0x06006E81 RID: 28289 RVA: 0x00127FDB File Offset: 0x001261DB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return JGFFNIFGPDAReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001F2F RID: 7983
		// (get) Token: 0x06006E82 RID: 28290 RVA: 0x00127FED File Offset: 0x001261ED
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return JGFFNIFGPDA.Descriptor;
			}
		}

		// Token: 0x06006E83 RID: 28291 RVA: 0x00127FF4 File Offset: 0x001261F4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public JGFFNIFGPDA()
		{
		}

		// Token: 0x06006E84 RID: 28292 RVA: 0x00127FFC File Offset: 0x001261FC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public JGFFNIFGPDA(JGFFNIFGPDA other) : this()
		{
			this.mPFDBEPDAKC_ = other.mPFDBEPDAKC_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06006E85 RID: 28293 RVA: 0x00128021 File Offset: 0x00126221
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public JGFFNIFGPDA Clone()
		{
			return new JGFFNIFGPDA(this);
		}

		// Token: 0x17001F30 RID: 7984
		// (get) Token: 0x06006E86 RID: 28294 RVA: 0x00128029 File Offset: 0x00126229
		// (set) Token: 0x06006E87 RID: 28295 RVA: 0x00128031 File Offset: 0x00126231
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint MPFDBEPDAKC
		{
			get
			{
				return this.mPFDBEPDAKC_;
			}
			set
			{
				this.mPFDBEPDAKC_ = value;
			}
		}

		// Token: 0x06006E88 RID: 28296 RVA: 0x0012803A File Offset: 0x0012623A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as JGFFNIFGPDA);
		}

		// Token: 0x06006E89 RID: 28297 RVA: 0x00128048 File Offset: 0x00126248
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(JGFFNIFGPDA other)
		{
			return other != null && (other == this || (this.MPFDBEPDAKC == other.MPFDBEPDAKC && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06006E8A RID: 28298 RVA: 0x00128078 File Offset: 0x00126278
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.MPFDBEPDAKC != 0U)
			{
				num ^= this.MPFDBEPDAKC.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06006E8B RID: 28299 RVA: 0x001280B7 File Offset: 0x001262B7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06006E8C RID: 28300 RVA: 0x001280BF File Offset: 0x001262BF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06006E8D RID: 28301 RVA: 0x001280C8 File Offset: 0x001262C8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.MPFDBEPDAKC != 0U)
			{
				output.WriteRawTag(16);
				output.WriteUInt32(this.MPFDBEPDAKC);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06006E8E RID: 28302 RVA: 0x001280FC File Offset: 0x001262FC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.MPFDBEPDAKC != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.MPFDBEPDAKC);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06006E8F RID: 28303 RVA: 0x0012813A File Offset: 0x0012633A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(JGFFNIFGPDA other)
		{
			if (other == null)
			{
				return;
			}
			if (other.MPFDBEPDAKC != 0U)
			{
				this.MPFDBEPDAKC = other.MPFDBEPDAKC;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06006E90 RID: 28304 RVA: 0x0012816B File Offset: 0x0012636B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06006E91 RID: 28305 RVA: 0x00128174 File Offset: 0x00126374
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 16U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.MPFDBEPDAKC = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04002A1E RID: 10782
		private static readonly MessageParser<JGFFNIFGPDA> _parser = new MessageParser<JGFFNIFGPDA>(() => new JGFFNIFGPDA());

		// Token: 0x04002A1F RID: 10783
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002A20 RID: 10784
		public const int MPFDBEPDAKCFieldNumber = 2;

		// Token: 0x04002A21 RID: 10785
		private uint mPFDBEPDAKC_;
	}
}
